package com.example.musicrecommend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.musicrecommend.model.entity.Comment;
import com.example.musicrecommend.model.vo.CommentVO;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
* @author PERSON
* @description 针对表【comment(评论)】的数据库操作Mapper
* @createDate 2024-10-03 23:26:32
* @Entity com.example.musicrecommend.model.entity.Comment
*/
public interface CommentMapper extends BaseMapper<Comment> {

    Page<CommentVO> selectCommentPageBySongId(Page<CommentVO> page,
                                              @Param("songId") Serializable songId);

}




